package o;

import android.annotation.TargetApi;
import android.content.Context;
import android.view.MotionEvent;
import android.view.ScaleGestureDetector;
import android.view.ScaleGestureDetector.OnScaleGestureListener;

@TargetApi(8)
class blv$a extends blv$d {
    private final OnScaleGestureListener ʽ = new OnScaleGestureListener(this) {
        final /* synthetic */ blv$a ˊ;

        {
            this.ˊ = r1;
        }

        public boolean onScale(ScaleGestureDetector scaleGestureDetector) {
            this.ˊ.ॱ.ॱ(scaleGestureDetector.getScaleFactor(), scaleGestureDetector.getFocusX(), scaleGestureDetector.getFocusY());
            return true;
        }

        public boolean onScaleBegin(ScaleGestureDetector scaleGestureDetector) {
            return true;
        }

        public void onScaleEnd(ScaleGestureDetector scaleGestureDetector) {
        }
    };
    private final ScaleGestureDetector ॱॱ;

    public blv$a(Context context) {
        super(context);
        this.ॱॱ = new ScaleGestureDetector(context, this.ʽ);
    }

    public boolean ˏ() {
        return this.ॱॱ.isInProgress();
    }

    public boolean ˏ(MotionEvent motionEvent) {
        this.ॱॱ.onTouchEvent(motionEvent);
        return super.ˏ(motionEvent);
    }
}
